Skip to content

Conversation

@pedrolcl
Copy link
Collaborator

When calling EAS_SetSoundLibrary() with a stream handle opened with EAS_OpenMIDIStream(), the caller gets a SIGSEGV.
Same for EAS_LoadDLSCollection.

Description

in EAS_SetSoundLibrary and EAS_LoadDLSCollection, if pStream->pParserModule is NULL, then we assume that pStream->handle shall be a S_INTERACTIVE_MIDI *, which has an initialized pSynth member that we may pass to the functions VMSetEASLib and VMSetDLSLib.

Related Issues

Closes #8

Checklist

  • I have followed the contribution guidelines.
  • My code follows the coding standards.
  • I have tested my changes.

When calling EAS_SetSoundLibrary() with a stream handle opened with
EAS_OpenMIDIStream(), the caller gets a SIGSEGV.

Same for EAS_LoadDLSCollection.
@pedrolcl pedrolcl requested a review from rsp4jack January 31, 2026 13:51
@rsp4jack rsp4jack merged commit da067d1 into EmbeddedSynth:devel Jan 31, 2026
18 checks passed
@pedrolcl pedrolcl deleted the fix-for-EAS_SetSoundLibrary-and-EAS_LoadDLSCollection branch January 31, 2026 15:57
@pedrolcl pedrolcl mentioned this pull request Feb 9, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash with EAS_SetSoundLibrary()

2 participants